<template>
	<view>
		<button @click="yasuo"> yasuo</button>
		<image src="../../static/bisai.png" style="width: 20rpx;height: 20rpx;"></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			yasuo(){
				uni.compressImage({
				  src: '../../static/bisai.png',
				  quality: 80,
				  success: res => {
				    console.log(res.tempFilePath)
				  }
				})
			}
			
			
			
		}
	}
</script>

<style>

</style>
